
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title></title>
    <link rel="shortcut icon" href="/favicon.ico" />
    
    <?php use_javascript('jq/jquery') ?>
    <?php use_javascript('jq/jquery-corner') ?>
    <?php use_javascript('jquery.lartools-1.0.0.js') ?>
    
    <?php include_javascripts() ?>
    <?php include_stylesheets() ?>

    <script>
    $(document).ready(function(){
        boxes.alturaJQuery('sidebarRight', 'main');
        $(".redondeado").corner("corner 8px");
        $("#nav_login_titulo").corner("corner top 8px");
    });
    
    </script>
</head>
<body>

<div id="container">

    <div id="header">
        <?php echo image_tag("cab_logo.png","isaac") ?>
        <h1>Administraci&oacute;n General</h1>
        <?php if($sf_user->isAuthenticated()) :?>
            <div id="loginshow" >
                <label>Usuario:&nbsp;</label>
                <?php echo $sf_user->getUsername() ?>
                <?php echo link_to("[ Desconectar ]","@sf_guard_signout") ?>
            </div>
         <?php endif; ?>
    </div>


    <div id="main">
        <?php echo $sf_content ?>
    </div>
    <div id="sidebarRight">
            <p>right right right right right right ...</p>
            <p>Bla bla bla Bla bla bla ...</p>
            Bla bla bla Bla bla bla...

             <?php if(!$sf_user->isAuthenticated()) :?>
                <?php if (has_slot('loginform')): ?>
                    <div  id="nav_login_titulo" >Ingreso al Sistema</div>
                    <div id="nav_login" class="titulo-login redondeado">
                        <?php include_slot('loginform') ?>
                    </div>
                <?php endif; ?>
             <?php else: ?>
                Seleccion de empresa
             <?php endif; ?>

    </div>
    <div id="footer">
        <?php echo image_tag("symfony.gif","alt='symfony' id='symfony_logo'") ?>
        <p align="center">Sistema de Sueldos & Jornales .:: Isaac ::. </p>
        <p align="center" id="cp_rigth" > &reg; Romo & Miño & Rios ::  </p>
    </div>

</div>
 
</body>
</html>